package com.iking.housekeeping.util;

import java.util.UUID;

/**
 * 获取UUID工具类
 * @author Administrator
 *
 */
public class UUIDUtil {
	public static String getUUID(){
		//获取uuid并转换成字符串用空串替换里面的—
		String uuid = UUID.randomUUID().toString().replaceAll("-", "");
		return uuid;
	}
	public static void main(String[] args) {
		System.out.println(UUIDUtil.getUUID());
	}
}
